/*
    This source file is part of GeNa project.
    Copyright © GeNa project 2008
    For the latest info, see http://code.google.com/p/genaproject/ or  http://lumpyproject.forums-rpg.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Foobar is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar.  If not, see <http://www.gnu.org/licenses/>. */

#ifndef CONF_ID_H_INCLUDED
#define CONF_ID_H_INCLUDED

#ifdef WINDOWS
#include "wx_pch.h"
#endif

#define CONFIG_SPEC_ID(id) const int ID_ ## id = wxNewId();

#define CONFIG_ID(id, name) CONFIG_SPEC_ID(id) \
g_idToProp[ ID_ ## id] = # name;

//Put id there
CONFIG_SPEC_ID( XSENSI)
CONFIG_SPEC_ID( YSENSI)
CONFIG_SPEC_ID( XMOVESENSI)
CONFIG_SPEC_ID( YMOVESENSI)
CONFIG_SPEC_ID( UPMOVESENSI)

#endif // CONF_ID_H_INCLUDED
